package com.party.mem.web.dto.input.user;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @program: party
 * @description: 用户注册输入实体
 * @author: Hua Qunhao
 * @create: 2019-05-22 14:19
 **/
public class RegisterInput {

    @NotBlank(message = "手机号不能为空")
    private String mobileRg;

    @NotBlank(message = "短信验证码不能为空")
    private String verifyCodeRg;

    @NotBlank(message = "登录名不能为空")
    private String usernameRg;

    @NotBlank(message = "密码不能为空")
    private String passwordRg;


    public String getMobileRg() {
        return mobileRg;
    }

    public void setMobileRg(String mobileRg) {
        this.mobileRg = mobileRg;
    }

    public String getVerifyCodeRg() {
        return verifyCodeRg;
    }

    public void setVerifyCodeRg(String verifyCodeRg) {
        this.verifyCodeRg = verifyCodeRg;
    }

    public String getUsernameRg() {
        return usernameRg;
    }

    public void setUsernameRg(String usernameRg) {
        this.usernameRg = usernameRg;
    }

    public String getPasswordRg() {
        return passwordRg;
    }

    public void setPasswordRg(String passwordRg) {
        this.passwordRg = passwordRg;
    }

    @Override
    public String toString() {
        return "RegisterInput{" +
                "mobileRg='" + mobileRg + '\'' +
                ", verifyCodeRg='" + verifyCodeRg + '\'' +
                ", usernameRg='" + usernameRg + '\'' +
                ", passwordRg='" + passwordRg + '\'' +
                '}';
    }
}
